<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/selectutil.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/jquery.js"></script>
<script type="text/javascript">
	$.ajax({
		url : "/skyline/site/getsubsites.html",
		data : "siteId=001000000",
		type : "POST",
		dataType : "json",
		contentType : "application/x-www-form-urlencoded; charset=utf-8",
		success : function(msg) {
			if (msg != null) {
				for ( var i = 0; i < msg.length; i++) {
					var site = msg[i];
					alert(site.name);
				}
			}
		}
	});
</script>
</head>
<body>

</body>
</html>